var express = require('express');
var router = express.Router();

router.get('/fanyujie', function(req, res, next) {



  res.send('这是fanyujie页面');
});

/* GET users listing. */
// router.get('*', function(req, res, next) {
//   res.send('respond with a resource');
// });

router.get('/shichenda', function(req, res, next) {

	function call(callback){

		console.log("这是回调函数");
		if(typeof callback == "function"){ 
			callback(); 
		}
	}

	function back(){
		console.log("我是回调函数2");
	}

	call(back);

  res.send('这是shichenda页面');
});

module.exports = router;
